package com.woniu.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
public class OrderSeachByIdReturnVo {

    @ApiModelProperty("订单表 主键 自增/订单编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("创建时间/驶入时间/提交时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    @ApiModelProperty("驶离时间")
    private Date leaveTime;

    @ApiModelProperty("车牌号码")
    private String num;

    @ApiModelProperty("绑定用户名，未绑定为 0")
    private String userName;

    @ApiModelProperty("地磁编号")
    private Long magnetId;

    @ApiModelProperty("停车时长/min")
    private Long parkingTime;

    @ApiModelProperty("路段名")
    private String roadName;

    @ApiModelProperty("路段id")
    private String roadId;

    @ApiModelProperty("泊位id/泊位编号")
    private Long spaceId;

    @ApiModelProperty("巡检员名")
    private String patrolName;

    @ApiModelProperty("订单金额")
    private BigDecimal money;

    @ApiModelProperty("订单已经支付金额")
    private BigDecimal payMoney;

    @ApiModelProperty("正在进行订单当前已经产生的金额")
    private BigDecimal currentMoney;

    @ApiModelProperty("订单支付时间")
    private Date payTime;

    @ApiModelProperty("订单状态(0:进行中 1:待缴费 2:已缴费 3:已完成 4:已退款)")
    private String status;

    @ApiModelProperty("订单驶入图片")
    private List<String> orderImageList;

}
